import request from '@/utils/request'

const jdApi = {
  expressOrderCreate: '/jdExpress/add',
  expressOrderCancle: '/jdExpress/edit',
  expressOrderPrinter: '/jdExpress/lists'
}
export function expressOrderCreate (parameter) {
  return request({
    url: jdApi.expressOrderCreate,
    method: 'get',
    params: parameter
  })
}

export function expressOrderCancle (parameter) {
  return request({
    url: jdApi.expressOrderCancle,
    method: 'get',
    params: parameter
  })
}

export function expressOrderPrinter (parameter) {
  return request({
    url: jdApi.expressOrderPrinter,
    method: 'get',
    params: parameter
  })
}